<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Upload file - JavaShare</title>
    </head>
    <body>
        <form action="http://localhost:8084/rest/File/add" method="post" enctype="multipart/form-data">
            User id
            <input type="text" name="iduser"/><br/>
            File name
            <input type="text" name="filename"/><br/>
            Description
            <input type="text" name="description"/><br/>
            <input type="file" name="file"/> 
            <input type="submit" value="Upload File" />
        </form> 
    </body>
</html>
